LFG System in Prolog

نویسنده

  • Hideki Yasukawa
چکیده

In order to design and maintain a latE? scale grammar, the formal system for representing syntactic knowledEe should be provided. Lexlcal Functional Grammar (LFG) [Kaplan, Bresnan 82] is a powerful formalism for that purpose, In this paper, the Prolog implementation of LFG system is described. Prolog provides a Eood tools for the implementation of LFG. LFG can be translated into DCG [Perelra,IIarren 80] and functional structures (f-structures) are generated durlnK the parsing process. I INTRODUCTIOr~ The fundamental purposes of syntactic analysis are to check the Eramnatlcallty and to clariDI the mapping between semantic structures and syntactic constituents. DCG provides tools for fulfillln 6 these purposes. But, due to the fact that the arbitrary 9rolog programs can be embedded into DCG rules, the grammar becomes too complicated to understand, debug and maintain. So, the develo~ent of the formal system to represent syntactic knowled~es is needed. The main concern is to define the appropriate set of the descriptive primitives used to represent the syntactic knowledges. LFG seems to be promising formalism from current llngulstlc theories which satisfies these requirements. LFG is adopted for our prelimlna~y version of the formal system and the Prolog implementation of LFG is described in this paper. ii SII:~.Z OVERVI~ OF LFG in this section, the simple overview of LF~ is described (See [Eaplan, Bresnan 82] for details). LFG is an e::tention of context free grammar (C~'G) and has two-levels of representation, i.e. c-structures (constituent structures) and f-~tructures (functional structures). A c-structure is generated by CFG and represents the surface uord and phrase configurations in a ~entence, and the f-structure is generated by the functional equations a=sociated with the o~rammar rules and represents the conflo~uratlon of the surface ~ra=matical functions. Fi~. I shows the c-structure and f-structure for the sentence "a e~f.rl handed the baby a toy" ([Kaplan,Bresnan 82]).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Prolog models of classical approaches to MT

This paper describes a number of “toy” MT systems written in Prolog, designed as programming exercises and illustrations of various approaches to MT. The systems include a dumb word-for-word system, DCG-based “transfer” system, an interlingua-based system with an LFG-like interface structure, a firstgeneration-like Russian-English system, an interactive system, and an implementation based on ea...

متن کامل

A Lexical Functional Grammar System in Prolog

This paper describes a system in PROLOG for the automatic transforination of a grammar, written in LFG formalism, into a DCG-based parser. It demonstrates the main principles of the transformation, the representation of f-structures and constraints, the treatment of long-distance dependencies, and left rccursion. Finally some problem areas of the system and possibilities for overcoming them are...

متن کامل

Die Konstanzer LFG-Umgebung

Starting in the mid-1980s, grammars in the DCG, PATR and LFG formats have been implemented at the University of Constance. Experience has shown that translating a grammar specification into machine interrretable code, e.g., Prolog, is difficult and errorprone. A current attempt to let students and research co-workers formulate and test grammar sketches in an abstract formalism directly on the c...

متن کامل

A Deductive Account of Quantification in LFG

The relationship between Lexical-Functional Grammar (LFG) functional structures (f-structures) for sentences and their semantic interpretations can be expressed directly in a fragment of linear logic in a way that explains correctly the constrained interactions between quantifier scope ambiguity and bound anaphora. The use of a deductive framework to account for the compositional properties of ...

متن کامل

QPATR and Constraint Threading

QPATR is an MS-DOS Arity/PROLOG implementation of the PATR-II formalism for unification grammar. The fbnnalism has been extended to include the constraints of LFG as well as negation and disjunction, which are implemented with the disjunction and negation-as-failure of PROLOG itself. A technique of constraint threading is employed to collect negative and constraining conditions in PROLOG differ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1984